package com.zaoniao.enstudy.infrastructure.po;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 用户考试记录明细表
 * z_exam_answer
 */
@Data
@Table(name = "z_exam_answer")
public class ExamAnswerPo implements Serializable {
    /**
     * 主键id
     */
    @Id
    private Integer id;

    /**
     * 考试记录id
     */
    @Column(name = "exam_paper_id")
    private Integer examPaperId;

    /**
     * 被考的英文单词
     */
    private String word;

    /**
     * 用户答题选项
     */
    @Column(name = "user_answer")
    private String userAnswer;

    /**
     * 题号: 从1开始，到考试题目总数结束.
     */
    @Column(name = "`order`")
    private Integer order;

    private static final long serialVersionUID = 11L;
}